package com.example.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 存储员工基本信息
 * </p>
 *
 * @author 88Ra
 * @since 2024-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("employees")

public class Employees implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "EmployeeID", type = IdType.AUTO)
	private Integer EmployeeID;
	
	
	@TableField("Name")
	private String Name;
	
	@TableField("Email")
	private String Email;
	
	@TableField("Phone")
	private String Phone;
	
	
	@TableField("DepartmentID")
	private Integer DepartmentID;
	
	@TableField("Position")
	private String Position;
	
	
	@TableField("StartDate")
	private LocalDate StartDate;
	
	
	@TableField("Salary")
	private BigDecimal Salary;
	
	
}
